﻿using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Text;

namespace WebApiCoreDemo.Model
{
    public class UserIdentity : IIdentity
    {
        public UserIdentity(string id, string name)
        {
            Id = id;
            Name = name;
        }
        public string Id { get; }
        public string Name { get; }
        public string AuthenticationType { get; }
        public bool IsAuthenticated { get; }
    }
}
